package com.qdc.datacenters.service;

import com.qdc.datacenters.domain.entity.CorpGroup;
import com.qdc.datacenters.domain.query.chatmsg.ChatMsgListQuery;
import com.qdc.datacenters.domain.vo.chatmsg.ChatMsgRoomListVo;
import com.qdc.datacenters.domain.vo.group.CorpGroupVo;

import java.util.List;

/**
 * 企业微信群(CorpGroup)表服务接口
 *
 * @author danmo
 * @since 2024-03-04 23:15:33
 */
public interface ICorpGroupService extends IBaseService<CorpGroup> {

    CorpGroupVo getByChatId(String chatId);
    CorpGroupVo getByChatId(String chatId,Integer groupType);

    List<ChatMsgRoomListVo> getRoomMsgList(ChatMsgListQuery query);
}

